import { ecs } from "db://oops-framework/libs/ecs/ECS";
import { Component } from "cc";
import { AvatarEntity } from "db://assets/script/game/demo/ecs/entity/AvatarEntity";

export abstract class CCComp extends Component implements ecs.IComp {
    static tid: number = -1;
    static compName: string;

    canRecycle: boolean = false;
    ent!: ecs.Entity;

    abstract reset(): void ;

    onLoad() {
        ecs.addSingleton(this);
    }


}